package dfbz.homework4;

public class Teacher extends Person{
    private String kemu;

    public Teacher() {
    }

    public Teacher(String kemu) {
        this.kemu = kemu;
    }
    public void teach(String name){
        System.out.println(name+"老师"+"讲授"+this.kemu+"课");
    }
}
